<?php
/**
   {session param=...}
*/

require_once './cf/session.inc';

function show_session_param($params)
{
	$paramName = $params['param'];
	if (session::has($paramName))
	{
		return session::get($paramName);
	}
	return '';
}

$smarty->register_function("session", "show_session_param"); 
?>